<div id="videocategory-add-edit">
    <div class="title">
        修改视频分类信息
    </div>
    <form action="__APP__/VideoCategory/update" method="post">
        <input type="hidden" name="id" value="<{$data.id}>" />
        <input type="hidden" name="image" class="pic" value="<{$data.image}>" readonly="readonly" />
        <table>
            <tr><th>分类名称：</th><td><input type="text" name="name" value="<{$data.name}>" /></td></tr>
            <tr><th>分类别名：</th><td><input type="text" name="alias" value="<{$data.alias}>" /></td></tr>
            <tr><th style="vertical-align:top;"><a href="javascript:;" class="upload">修改封面</a>：</th>
                <td class="img">
                    <empty name="data.image">
                            <img  width="132" height="75" src="__PUBLIC__/Content/VideoCategory/default.jpg" />
                        <else/>
                            <img  width="132" height="75" alt="<{$data.name}>" src="__PUBLIC__/Content/VideoCategory/<{$data.image}>" />
                    </empty>
                </td></tr>
            <tr><th>分类排序：</th><td><input type="text" name="sort" value="<{$data.sort}>" /></td></tr>
            <eq name="data.publish" value="1">
                    <tr><th>是否发布：</th><td><input type="radio" checked="checked" name="publish" value="1" />是
                    <input type="radio" name="publish" value="0" />否</td></tr>
                <else/>
                    <tr><th>是否发布：</th><td><input type="radio" name="publish" value="1" />是
                    <input type="radio" name="publish" value="0" checked="checked" />否</td></tr>
            </eq>
            <tr><th style="vertical-align:top;">分类描述：</th><td><textarea name="description"><{$data.description}></textarea></td></tr>
            <tr><td></td><td><input type="submit" class="submit" value="修改分类" /></td></tr>
        </table>
    </form>
</div>
<script type="text/javascript" src="../Public/js/videocategory.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/ajaxupload.js"></script>